﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterAdmin.master" AutoEventWireup="true" CodeFile="DanhSachSeminar.aspx.cs" Inherits="Admin_DanhSachSeminar" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function FIELDSET1_onclick() {

}

// ]]>
</script>

    
<ajax:ajaxpanel id="Ajaxpanel1" runat="server" >
    &nbsp;<br />
<fieldset id="FIELDSET1" onclick="return FIELDSET1_onclick()" >
		<legend>Thông tin danh sách seminar</legend>
		<table style="width: 282px">
        <tr>
            <td>
            </td>
            <td align="right" style="width: 375px">
		Tổng số trang: <asp:Label ID="numberPaging" runat="server" Visible="true" Text="1"/>&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
		<asp:GridView ID="GridView1"  runat="server" Width="710px" BackColor="White"
		                BorderStyle="Solid" AutoGenerateColumns="False" AllowSorting="True" 
		                BorderWidth="1px" GridLines="Vertical" ForeColor="Black" CellPadding="3" 
		                datakeynames="maSeminar"
		                CellSpacing="5"
		                allowpaging="True"
		                pagesize="5"
		                BorderColor="#999999"	     
		                 >
		  <pagersettings
            nextpagetext="Next" previouspagetext="Back"
            position="TopAndBottom" />

         <FooterStyle BackColor="#CCCCCC"></FooterStyle> 
         <columns>
            <asp:templatefield headertext="STT" Visible ="False">
                <itemtemplate>
                  <asp:label id="maSeminar" runat="server" Text= '<%# Bind("MaSeminar")%>'></asp:label>
                </itemtemplate>
                <ItemStyle BorderColor="DarkBlue" Font-Bold="True" Font-Italic="True" />
            </asp:templatefield>  
            
            <asp:templatefield headertext="Chủ đề tr&#236;nh b&#224;y">
                <itemtemplate>
                  <asp:LinkButton id="lbVanDe" runat="server" Text= '<%# Bind("VanDeTB")%>' CommandArgument='<%# Bind("MaSeminar")%>' CommandName="xemChiTiet" OnClick="xemChiTietSeminar" ></asp:LinkButton>
                </itemtemplate>
                <ItemStyle BorderColor="DarkBlue" Font-Bold="True" Font-Italic="True" />
            </asp:templatefield>    
             
          <asp:templatefield headertext="Người Tr&#236;nh B&#224;y">
                <itemtemplate>
                  <asp:label id="d"  runat="server" Text= ' <%# Bind("TenGiaoVien")%>' ></asp:label>
                </itemtemplate>
                <ItemStyle BorderColor="Navy" HorizontalAlign="Left" VerticalAlign="Middle" Width="150px" />
          </asp:templatefield> 
          
          <asp:templatefield headertext="Ng&#224;y Tr&#236;nh B&#224;y">
                <itemtemplate>
                  <asp:label id="ngay"  runat="server" Text= ' <%# Bind("NgaySeminar")%>' ></asp:label>
                </itemtemplate>
                <ItemStyle BorderColor="Navy" HorizontalAlign="Left" VerticalAlign="Middle" Width="150px" />
          </asp:templatefield> 
            <asp:templatefield headertext="Cập Nhật">
                <itemtemplate>
                  <asp:ImageButton id="capNhat"  runat="server" AlternateText="Cập nhật" Width="25px" Height="25px" ImageUrl="~/Images/sach viet.jpg" CommandArgument='<%# Bind("MaSeminar")%>' CommandName="CapNhat" OnClick="capNhatSeminar"></asp:ImageButton>
                </itemtemplate>
                <ItemStyle BorderColor="Navy" HorizontalAlign="Center" VerticalAlign="Middle" Width="40px" />
          </asp:templatefield> 
         
          
          
        </columns>     
        <PagerStyle HorizontalAlign="Center" BackColor="#999999" ForeColor="Black" Font-Bold="True" Font-Names="comic sans ms" Font-Size="9pt"></PagerStyle>

        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White"></SelectedRowStyle>
        <HeaderStyle BackColor="BlueViolet" Font-Bold="True" ForeColor="White"></HeaderStyle>
        <AlternatingRowStyle BackColor="#CCCCCC"></AlternatingRowStyle>
        
    </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="left" style="height: 21px">
                &nbsp;Trang hiện hành:<asp:Label ID="pagingLabel" runat="server" Visible="True" Text="1"/>
    &nbsp; &nbsp;</td>
            <td align="right" style="width: 375px; height: 21px">
                <asp:LinkButton id="LinkButton1" runat="server" Visible="false" OnClick="LinkButton1_Click">&lt;&lt; Previous </asp:LinkButton>
                <asp:LinkButton id="LinkButton2" runat="server" OnClick="LinkButton2_Click" >Next &gt;&gt;</asp:LinkButton>
            </td>
        </tr>
    </table>
    
</fieldset>
</ajax:ajaxpanel>
<fieldset >
    &nbsp;
</fieldset >
</asp:Content>

